<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
	
<head>
	<title>smilText JS + Youtube video</title>
	
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<meta NAME="AUTHOR" CONTENT="Rodrigo Laiola Guimaraes">
	<META NAME="COPYRIGHT" CONTENT="Centrum Wiskunde & Informatica (CWI)">
	<META NAME="DESCRIPTION" 
		CONTENT="This file is part of the smilText parser implemented in JavaScript,

				Copyright (C) 2003-2009 Stichting CWI, 
				Science Park 123, 1098 XG Amsterdam, The Netherlands.
				
				smilText parser in JavaScript is free software; you can redistribute it and/or modify
				it under the terms of the GNU Lesser General Public License as published by
				the Free Software Foundation; either version 2.1 of the License, or
				(at your option) any later version.
				
				smilText parser in JavaScript is distributed in the hope that it will be useful,
				but WITHOUT ANY WARRANTY; without even the implied warranty of
				MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
				GNU Lesser General Public License for more details.
				
				You should have received a copy of the GNU Lesser General Public License
				along with smilText parser in JavaScript; if not, write to the Free Software
				Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
				
				@author Rodrigo Laiola Guimaraes (rlaiola@cwi.nl)">
	<META NAME="KEYWORDS" CONTENT="smil, smilText, timing text, subtitles, captions & youtube">
	
	<!-- smilText libraries -->
	<script type="text/javascript" src="../../src/scripts/jsoner.commons.js"></script>
	<script type="text/javascript" src="../../src/scripts/com.iskitz.ajile.1.2.1.js"></script>
	<script type="text/javascript" src="../../src/scripts/cwi.adt.js"></script>
	<script type="text/javascript" src="../../src/scripts/cwi.util.js"></script>
	<script type="text/javascript" src="../../src/scripts/cwi.smilText.Time.js"></script>
	<script type="text/javascript" src="../../src/scripts/cwi.smilText.js"></script>

	<!-- JW player scripts -->
	<script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript" src="player.js"></script>
    
    <style>
	#sub {
		text-align: center;
		width:456px;
		height:20px;
		margin: 0;
		padding-top: 2px;
		padding-bottom: 5px;
		background-color: #DDDDDD;
		font:20px arial,helvetica,clean,sans-serif;
	}
    </style>
</head>

<body onload="embedPlayer();">

	<!-- Player -->
	<div id="wrapper">  
		You need Flash player 8+ and JavaScript enabled to view this video.
		<br/> 
		You can download a Flash player <a target="_blank" href="http://www.adobe.com/go/getflashplayer/">here</a>.
		<br/> Change your browser preferences to enable JavaScript support.
        <div id="placeholder1"></div>
  	</div>

	<!-- Captions rendering area -->
	<div id="sub"></div>
	
	<br/>
	
	<a href="subtitles.xml">See subtitles file</a>
	
	<!-- Video Info -->
	<div class="sidebar" id="sidebar1">
		<h3 >Video Info</h3>
		<ul>
			<li>
				<ul>
					<li>Player state: <span id="playerstate">IDLE</span></li>
					<li>Current Time (hh:mm:ss): <span id="videotime">-0.000025</span></li>
					<li>Duration (hh:mm:ss): <span id="videodur">-0.000025</span></li>
					<li>Bytes loaded: <span id="bytesloaded">-1</span></li>
					<li>Bytes remaining: <span id="bytesremain">-1</span></li>
				</ul>
			</li>	
		</ul>
		
	</div>
				
	<div id='about'>
		<h3>About Us</h3>
		<p>
		<a href="http://www.cwi.nl" target="_blank">
			<span>CWI: Centrum Wiskunde & Informatica</span>
		</a>
		</p>
		<p>
		SEN 5 (Distributed Multimedia Languages and Infrastructures)<br/>
		Science Park 123<br/>
		1098 XG Amsterdam, The Netherlands<br/>
		Phone: +31 (0)20 592 9333<br/>
		Fax: +31 (0)20 592 4199<br/>
		</p>
		
		<p>
		Please take a moment to share your experiences with us by <a href="mailto:ambulant-feedback@ambulantplayer.org?subject=Ambulant Captioner">e-mail</a>.
		</p>
		
		<p>For more info visit <a href="http://www.ambulantplayer.org/" target="_blank">Ambulant Player's</a> website.</p>
	</div>
	
</div>
	
</body>

</html>
